package com.luban.hs.aop;

import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @Author: hs
 * @Description:
 * @Date: Create in 17:43 2019/1/29
 */
@Component
//@Aspect
public class AspectjPointCut {

    @Pointcut("execution(* com.luban.hs.smo.OfferSmo*.*(..))")
    protected void smoPointcut(){};
    @Before("smoPointcut()")
    private void smoBefore(){
        System.out.println("before 通知 ....");
    }
}
